package org.dromara.app.domain.sys;

import lombok.Data;

@Data
public class SysSumData {

    private Long addUserCount = 0L;
    private Long huoYueUserCount = 0L;
    private Long addVipUserCount = 0L;
    private Long addDarenCount = 0L;
    private Long isCommutingCount = 0L;
    private Long addVipMoney = 0L;
    private Long yueJuCount = 0L;
    private Long yueDanCount = 0L;
    private Long yueDanMoney = 0L;
    private Long allShouyiMoney = 0L;
    private Long fenYongMoney = 0L;
    private Long jingShouYiMoney = 0L;
    private Long allUserCount = 0L;

    //计算allShouyiMoney
    public void calculateAllShouyiMoney() {
        this.allShouyiMoney = this.addVipMoney + this.yueDanMoney;
        this.jingShouYiMoney = this.allShouyiMoney - this.fenYongMoney;
    }

}
